/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/11
 */
public class Test14 {
    public static void main(String[] args) {
        int days = 10;
        int peaches = 1;
        for (int i = days - 1; i > 0; i--) {
            peaches = (peaches + 1) * 2;
        }
        System.out.println("第一天共摘下来 " + peaches + " 个桃子。");
    }
}

